/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.govProcure.model;

import com.yunhoo.sys.util.common.LoginParam;
import java.util.Date;

/**
 * 采购 年度预算 or 季度计划 编制 -- 基本信息
 *
 * @author Administrator
 */
public class CateEditBase {

    private String number = "";//编号
    private String orgCode;
    private String orgName;
    private Integer iyear;
    private Integer imonth;
    private String dataPeriod;//会计期间
    private String deptCode;
    private String deptName;
    private String editPerCode;
    private String editPerName;
    private Date editDate = null;//报送日期
    private String addSign = "";//追加标志：0 预算(计划)；1 追加预算(计划)

    public CateEditBase() {
        orgCode = LoginParam.getOrg().getCode();
    }

    public CateEditBase(boolean initWithLoginInfo) {
        if (initWithLoginInfo) {
            this.orgCode = LoginParam.getOrg().getCode();
            this.orgName = LoginParam.getOrg().getName();
            this.iyear = LoginParam.getIyear();
        }
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getIyear() {
        return iyear;
    }

    public void setIyear(Integer iyear) {
        this.iyear = iyear;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getEditPerCode() {
        return editPerCode;
    }

    public void setEditPerCode(String editPerCode) {
        this.editPerCode = editPerCode;
    }

    public String getEditPerName() {
        return editPerName;
    }

    public void setEditPerName(String editPerName) {
        this.editPerName = editPerName;
    }

    public Date getEditDate() {
        return editDate;
    }

    public void setEditDate(Date editDate) {
        this.editDate = editDate;
    }

    public String getAddSign() {
        return addSign;
    }

    public void setAddSign(String addSign) {
        this.addSign = addSign;
    }

    public Integer getImonth() {
        return imonth;
    }

    public void setImonth(Integer imonth) {
        this.imonth = imonth;
    }

    public String getDataPeriod() {
        return dataPeriod;
    }

    public void setDataPeriod(String dataPeriod) {
        this.dataPeriod = dataPeriod;
    }
}
